new File(args[0]).splitEachLine("\t") { splits ->
  if ( splits.size() > 1 ) {
    if ( splits.size() == 4 ) println splits[0].trim() + "\t" + splits[1].trim() + "\t" + splits[3].trim()
    else println splits[0].trim() + "\t" + splits[1].trim()
  }
}